﻿//===============================================================================
// CB Stock Data Library
//===============================================================================
// Copyright © CB.  All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS 
// OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 
// WITH THE CODE OR THE USE OR OTHER DEALINGS IN THE CODE.
//===============================================================================

namespace CB.Stock.Core
{
    public class StockStaticInformation : IStockStaticInformation
    {
        public StockStaticInformation(string name, string code, MarketType market)
        {
            Name = name;
            Code = code;
            Market = market;
        }

        #region Implementation of IStockStaticInformation

        /// <summary>
        /// Name of the Stock
        /// </summary>
        public string Name { get; private set; }

        /// <summary>
        /// symble of the Stock
        /// </summary>
        public string Code { get; private set; }

        /// <summary>
        /// market the stock belongs to
        /// </summary>
        public MarketType Market { get; private set; }

        #endregion
    }
}
